<?php

namespace App\Services\Warehouse\Providers;


use Illuminate\Support\ServiceProvider;

use App\Services\Warehouse\Interfaces\FreightSpaceServiceInterface;
use App\Services\Warehouse\Interfaces\ERPUserServiceInterface;
use App\Services\Warehouse\Interfaces\VendorServiceInterface;
use App\Services\Warehouse\Interfaces\PartsCategoryServiceInterface;
use App\Services\Warehouse\Interfaces\EquipmentServiceInterface;
use App\Services\Warehouse\Interfaces\PartsServiceInterface;
use App\Services\Warehouse\Interfaces\InventoryManagementServiceInterface;
use App\Services\Warehouse\Services\FreightSpaceService;
use App\Services\Warehouse\Services\ERPUserService;
use App\Services\Warehouse\Services\VendorService;
use App\Services\Warehouse\Services\PartsCategoryService;
use App\Services\Warehouse\Services\EquipmentService;
use App\Services\Warehouse\Services\PartsService;
use App\Services\Warehouse\Services\InventoryManagementService;


class WarehouseServiceRegisterProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->instance(FreightSpaceServiceInterface::class, $this->app->make(FreightSpaceService::class));
        $this->app->instance(ERPUserServiceInterface::class, $this->app->make(ERPUserService::class));
        $this->app->instance(VendorServiceInterface::class, $this->app->make(VendorService::class));
        $this->app->instance(PartsCategoryServiceInterface::class, $this->app->make(PartsCategoryService::class));
        $this->app->instance(EquipmentServiceInterface::class, $this->app->make(EquipmentService::class));
        $this->app->instance(PartsServiceInterface::class, $this->app->make(PartsService::class));
        $this->app->instance(InventoryManagementServiceInterface::class, $this->app->make(InventoryManagementService::class));
    }
}
